123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 :
- * 설 명 :
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 :
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>[자동판정]결과상담 리스트</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <rsltcnstlist>
- <item>
- <rsltcnststatflag/>
- <rsltcnstflag/>
- <rsltcnstrsrvdd/>
- <hngnm/>
- <pid/>
- <sex/>
- <age/>
- <rsltcnstdrid/>
- <pkgnm/>
- <addtestnm/>
- <hopedd/>
- <cmpynm/>
- <judgdrid/>
- <judgdd/>
- <diagnm/>
- <sickcd/>
- <cnstcnts/>
- <prnttims/>
- <prntrid/>
- </item>
- </rsltcnstlist>
- </main>
- <init>
- <baseinfo>
- <statlst/>
- <hedetlflaglst/>
- <drlst>
- <itemdr/>
- </drlst>
- <rsltcnstflaglst/>
- </baseinfo>
- <A0010list>
- <A0010>
- <cdnm/>
- <cdid/>
- </A0010>
- </A0010list>
- </init>
- <send_05200>
- <srchbasedd/>
- <srchhealexamflag/>
- <srchcond/>
- <srchrsltcnststatflag/>
- <srchdrid/>
- <srchhealexamdetlflag/>
- <srchinstcd/>
- <srchpid/>
- <srchhngnm/>
- </send_05200>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/healexamautojudgweb/js/AJDG001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fDefaultSubmit();
- fDefaultSet(); //기본 데이터를 셋팅한다.
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRAHB05201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05200" resultref="/root/main/rsltcnstlist"/>
- <submission id="TRAHB01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05200" replace="instance" resultref="/root/init/baseinfo/drlst"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fDefaultSubmit() {
- model.makeValue("/root/send_05200/srchhealexamflag" , 'C');
- model.makeValue("/root/send_05200/srchcond", "J");
- submit("TRAHB01504");
-
- addComboItem( "cmb_drid" , "전체", "");
-
- zbcfGetCodeList( new Array("A0069","A0107", "A0123")
- , new Array( "/root/init/baseinfo/hedetlflaglst" //건진구분
- , "/root/init/baseinfo/statlst" //상태
- , "/root/init/baseinfo/rsltcnstflaglst" )//상담방법
- );
- submit("TRZBC00101");
- }
-
- function fDefaultSet() {
-
- //유저에 따라 판정의셋팅
- var sUserInfosS = getUserInfos();
- sUserInfosS = sUserInfosS + "|";
- var UserInfosS_Array = sUserInfosS.split("|");
- var cnt_userid = UserInfosS_Array[0]; //사용자번호
- var drnm = model.getValue("/root/init/baseinfo/drlst/itemdr[drid = '" + cnt_userid +"']/drnm");
- if(drnm != ""){
- // 의사이면 당일
- model.setValue("/root/send_05200/srchdrid",cnt_userid); //의사 아이디 셋팅
- model.setValue("/root/send_05200/srchbasedd",getCurrentDate()); //금일로 셋팅
-
- //건진조회기본값 셋팅
- model.setValue("/root/send_05200/srchrsltcnststatflag",'0'); //대기
- }else{
- // 의사가 아니면 당일
- model.setValue("/root/send_05200/srchbasedd",getCurrentDate()); //금일로 셋팅
- model.setValue("/root/send_05200/srchdrid",""); //의사 아이디 셋팅 료
-
- //건진조회기본값 셋팅
- model.setValue("/root/send_05200/srchrsltcnststatflag",'0'); //판정중, 판정완료
-
- }
-
- //건진종류셋팅
- model.setValue("/root/send_05200/srchinstcd",UserInfosS_Array[6]);
- model.setValue("/root/send_05200/srchhealexamflag",'C');
- model.setValue("/root/send_05200/srchhealexamdetlflag",'C01');
- fGetRsltCntsPatList();
- model.refresh();
- }
-
- function fGetRsltCntsPatList(){
- submit("TRAHB05201",false);
- }
-
- /*
-
-
- function fInit(bDetl){
- model.resetInstanceNode("/root/main/judgdetl/judginfo/item");
- var cur_date = getCurrentDate();
- // model.setValue(ipt_judgdd.attribute("ref") , cur_date);
- if( bDetl) {
- return ;
- }
- model.removeNodeset(grd_judgpatlst.nodeset);
- model.refresh();
- }
-
-
- function fSrchInit(){
- // cmb_srchhealexamdetlflag.refresh();
- //cmb_srchhealexamdetlflag.select(0);
-
- // cmb_srchhealexamdetlflag2.refresh();
- // cmb_srchhealexamdetlflag2.select(0);
-
- var cur_date = getCurrentDate();
- model.setValue(ipt_srchfromdd.attribute("ref") , cur_date);
- // model.setValue(ipt_srchtodd.attribute("ref") , cur_date);
-
- }
-
-
- function fGetRsltCntsPatList(){
- openLoadingBar("판정 대상 건진자리스트") ;//처리중 화면을 오픈한다.
- model.removeNodeset(grd_judgpatlst.nodeset);
- //model.resetInstanceNode("/root/send");
-
- model.setValue("/root/send/srchhealexamdetlflag" , model.getValue("/root/init/send/srchhealexamdetlflag") );
- model.setValue("/root/send/srchfromdd" , model.getValue("/root/init/send/srchfromdd") );
- // model.setValue("/root/send/judgdrid" , model.getValue("/root/init/send/judgdrid") );
-
- model.setValue("/root/send/srchinstcd" , getUserInfo("dutplceinstcd") );
- model.setValue("/root/send/srchhealexamflag", fGetHealExamFlag());
- submit("TRAHB05201");
- closeLoadingBar() ;//처리중 화면을 close한다.
- }
-
- function fGetBasicCdList(){
- if(!checkOpener() ){
- model.toggle("case_pat");
- }
- // btn_patlst.selected= true;
- if( m_vHealexamflag == "" ) {
- m_vHealexamflag = fGetHealExamFlag();
- }
- openLoadingBar("기초정보 ") ;//처리중 화면을 오픈한다.
-
-
- zbcfGetCodeList( new Array("A0069", "A0066","A0110","A0106", "A0107", "A0123")
- , new Array( "/root/init/baseinfo/hedetlflaglst"
- , "/root/init/baseinfo/rslttypelst"
- , "/root/init/baseinfo/plceflag"
- , "/root/init/baseinfo/inqrflag"
- , "/root/init/baseinfo/statlst"
- , "/root/init/baseinfo/rsltcnstflaglst" ) );
- submit("TRZBC00101");
-
- // m_vHealexamdetlflag = "C01";
-
- //판정의조회
- model.setValue("/root/send/srchhealexamflag" , m_vHealexamflag);
- model.setValue("/root/init/send/srchhealexamdetlflag" ,"C01");
- model.makeNode("/root/send/srchcond" );
- model.setValue("/root/send/srchcond", "J");
- submit("TRAHB01504");
- closeLoadingBar() ;//처리중 화면을 close한다.
- }
- */
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,759;1,1188;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:205px; height:13px; ">[자동판정]결과상담 리스트</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group4" style="left:0px; top:15px; width:1179px; height:65px; vertical-align:top; ">
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1178px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption10" class="search_name" style="left:211px; top:11px; width:86px; height:17px; ">상담일자 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1113px; top:9px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // submit("TRAHR00801");
- fGetRsltCntsPatList();
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line1" style="x1:1101px; y1:10px; x2:1101px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_srchbasedd" ref="/root/send_05200/srchbasedd" class="input_s_essential" inputtype="date" style="left:320px; top:11px; width:100px; height:19px; "/>
- <caption id="caption38" class="search_name" style="left:211px; top:35px; width:80px; height:17px; ">상담의 :</caption>
- <select1 id="cmb_drid" ref="/root/send_05200/srchdrid" class="combo_s_essential" appearance="minimal" style="left:301px; top:35px; width:139px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetRsltCntsPatList();
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="cmb_pre_day" class="icon_pre_month" style="left:300px; top:12px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var basedd = model.getValue("/root/send_05200/srchbasedd");
- model.setValue("/root/send_05200/srchbasedd",((basedd).toDate().getAddDate(-1,'D')).getDateFormat('YYYYMMDD')); //하루전으로 셋팅
- ipt_srchbasedd.refresh();
- ]]>
- </script>
- </button>
- <button id="button2" class="icon_next_month" style="left:425px; top:12px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var basedd = model.getValue("/root/send_05200/srchbasedd");
- model.setValue("/root/send_05200/srchbasedd",((basedd).toDate().getAddDate(1,'D')).getDateFormat('YYYYMMDD')); //하루전으로 셋팅
- ipt_srchbasedd.refresh();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn5_letter8" style="left:470px; top:35px; width:108px; height:19px; ">
- <caption>결과 상담 리스트</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send_05200/srchrsltcnststatflag",'0 1'); //판정중, 판정완료
- cmb_srchrsltcnststatflag.refresh();
- fGetRsltCntsPatList();
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/send_05200/srchhealexamdetlflag" class="combo_s_essential" appearance="minimal" style="left:100px; top:10px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0069">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption34" class="search_name" style="left:10px; top:10px; width:89px; height:17px; ">건진종류 :</caption>
- <caption id="caption36" class="search_name" style="left:465px; top:10px; width:89px; height:17px; ">등록번호 :</caption>
- <button id="btn_srchpat" class="icon_search" style="left:640px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00100", "pnm", ipt_pnm.currentText , "N", "/root/send_05200/" ,ipt_pid.attribute("ref"), ipt_pnm.attribute("ref") );
- if( model.getValue(ipt_pid.attribute("ref")) != "" ) fGetRsltCntsPatList();
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/send_05200/srchpid" class="input_default" style="left:555px; top:10px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fGetRsltCntsPatList();
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_pnm" ref="/root/send_05200/srchhngnm" class="input_default" style="left:660px; top:10px; width:69px; height:19px; "/>
- <select1 id="cmb_srchrsltcnststatflag" ref="/root/send_05200/srchrsltcnststatflag" appearance="minimal" style="left:100px; top:35px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0 1</value>
- </item>
- <item>
- <label>대기</label>
- <value>0</value>
- </item>
- <item>
- <label>완료</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:10px; top:35px; width:86px; height:17px; ">상담구분 :</caption>
- </group>
- <datagrid id="grd_rsltcnstlist" nodeset="/root/main/rsltcnstlist/item" caption="구분^상담방법^상담일시^성명^등록번호^성별^나이^상담의^패키지명^추가검사^검진일^개인/단체^판정의^판정일^진단명^질환 설명서 코드^추천검진^판정지출려횟수^최종출력자" colsep="^" colwidth="59, 72, 202, 100, 64, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 122, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:5px; top:110px; width:1175px; height:620px; ">
- <col disabled="true" ref="rsltcnststatflag" type="combo">
- <choices>
- <item>
- <label>대기</label>
- <value>0</value>
- </item>
- <item>
- <label>완료</label>
- <value>1</value>
- </item>
- <item>
- <label>취소</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col editmode="search" ref="rsltcnstflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rsltcnstflaglst/A0123">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rsltcnstrsrvdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="hngnm"/>
- <col ref="pid"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col disabled="false" ref="rsltcnstdrid" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pkgnm"/>
- <col ref="addtestnm"/>
- <col ref="hopedd" format="yyyy-mm-dd"/>
- <col ref="cmpynm"/>
- <col disabled="false" ref="judgdrid" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </col>
- <col ref="judgdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="diagnm"/>
- <col ref="sickcd"/>
- <col ref="cnstcnts"/>
- <col ref="prnttims"/>
- <col ref="prntrid"/>
- <choices>
- <itemset nodeset="/root/init/baseinfo/rsltcnstflaglst/A0123">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- open("SMAHB05300", "2", "", "", "popup", grd_rsltcnstlist.attribute("nodeset") + "[" + grd_rsltcnstlist.row + "]", "/root/temp" ) ;
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:5px; top:90px; width:151px; height:13px; ">결과상담 리스트</caption>
- <line id="line6" class="line_1" style="x1:5px; y1:105px; x2:1180px; y2:105px; "/>
- <button id="button5" class="btn2_letter2" disabled="false" style="left:1137px; top:85px; width:42px; height:19px; ">
- <caption>문진</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_judgpatlst.row > 0 ){
- open("SPAHB04900", "1", "", "", "popup", grd_judgpatlst.attribute("nodeset") + "[" + grd_judgpatlst.row + "]" , "root/temp");
- }else{
- messageBox("환자를 선택하시고 문진 버튼을 누르세요","I999");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|